<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta charset="utf-8" />
		<title></title>
		<style type="text/css"> .a_active{color: black;}</style>
	</head>
	<body>
		<table border="1">
			<tr>
				<td colspan="4" align="center">
					<a href="" class="a_active">全部</a>&nbsp; <span th:each="type:${typeList}"><a href="" th:text="${type.tname}"></a>&nbsp;</span>
				</td>				
			</tr>
			<tr th:each="food:${foodList}">
				<td>
					<img th:src="'/upload/'+${food.fimg==null?'default.jpg':food.fimg}" width="100" height="100"/>
					<h4 th:text="${food.fname}"></h4>
				</td>

			</tr>
			<tr>
				<td colspan="4" align="center">
					<a href="">首页</a><a href="">上一页</a><a href="">下一页</a><a href="">尾页</a>
				</td>				
			</tr>
			
		</table>
	</body>
</html>
